package com.itheima.mapper;

import com.itheima.domain.UmsResource;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 后台资源表 Mapper 接口
 * </p>
 *
 * @author zhuguo
 * @since 2022-11-10
 */
public interface UmsResourceMapper extends BaseMapper<UmsResource> {

    //  查询所有后台资源
    @Select("select * from ums_resource;")
    List<UmsResource> getAll();
}
